//
//  DepthModel.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/5/16.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
import Gzip
import ObjectMapper
class DepthModel:BaseModel, Mappable {
    var cmd:String = ""
    var symbol:String = ""
    var data:String = ""
    var metadata: [String: AnyObject?] = [:]
    var depthBigNumber:String = "0" //上下游5档的最高数值
//    var depthUpArr:[DepdetailModel] = [DepdetailModel]()
    var depUpArr:Array<DepdetailModel> = []
    var deptDownArr:Array<DepdetailModel> = []
    var klinDataArr:Array<Array<Float>> = [Array<Float>]()
    required init?(map: Map) {
        cmd <- map["cmd"]
        symbol <- map["symbol"]
        data <- map["data"]
    }
    
    override init() {
        super.init()
    }
    func mapping(map: Map) {
        
    }
    func changeModel()  {
        
        
    }
}
